package com.Java.train.business.service.daily;

import com.Java.train.business.req.daily.DailyTrainTicketQueryReq;
import com.Java.train.common.response.CommonResp;
import com.Java.train.business.entity.DailyTrainTicket;
import com.baomidou.mybatisplus.extension.service.IService;
import com.Java.train.common.response.PageResp;
import com.Java.train.business.entity.DTO.DailyTrainTicketDTO;

import java.util.Date;

/**
* @author luomoxingchen
* @since 2024-10-01
*/
public interface DailyTrainTicketService extends IService<DailyTrainTicket> {

    /**
    * DailyTrainTicket详情
    * @param
    * @return
    */
    PageResp<DailyTrainTicketDTO> queryList(DailyTrainTicketQueryReq dailyTrainTicketQueryReq);

    /**
    * DailyTrainTicket保存和修改
    * @param dailyTrainTicket 根据需要进行传值
    * @return
    */
    CommonResp<Object> modify(DailyTrainTicket dailyTrainTicket);

    /**
    * DailyTrainTicket删除
    * @param ids
    * @return
    */
    CommonResp<Object> remove(String ids);

    void genDaily(Date date, String code, String trainType);
}


